import Cookies from 'js-cookie'

export function getToken (name: any) {
  return Cookies.get(name)
}

export function setToken (name: any, token: any) {
  return Cookies.set(name, token) // 时效 , { expires: 7 }
}

export function removeToken (name: any) {
  return Cookies.remove(name)
}

